<script setup>
import { ref } from 'vue'

const emit = defineEmits(['askExpert'])

const handleClick = () => {
  emit('askExpert')
}
</script>

<template>
  <el-button
      class="expert-btn"
      @click="handleClick"
      icon="el-icon-s-custom"
  >
    询问专家
  </el-button>
</template>

<style scoped>
.expert-btn {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: white;
  border: none;
  padding: 1.2vw 2.4vw;
  font-size: 1vw;
  border-radius: 0.8vw;
  cursor: pointer;
  transition: all 0.3s;
}

.expert-btn:hover {
  transform: translateY(-0.2vw);
  box-shadow: 0 0.4vw 1.2vw rgba(79, 172, 254, 0.6);
}
</style>